package com.djj.nanny.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.djj.nanny.entity.ServiceBrowseHistory;

public interface ServiceBrowseHistoryService {

    void recordBrowseHistory(Long userId, Long serviceId);

    void clearBrowseHistory(Long userId);

    ServiceBrowseHistory getHistoryById(Long id);

    Page<ServiceBrowseHistory> getHistoryByPage(Long userId, Long serviceId, Integer pageNum, Integer pageSize);

} 